type TbUser = {
  uid: number
  username: string
  password: string
  accessId: string
  accessKey: string
  role: string
  deleted: string
  lastupdate: number
}

type TbUserInfo = {
  uid: number
  nickname: string
  sex: string
  email: string
  phone: string
  qq: string
  wechat: string
  info: string
  lastupdate: number
}

type UserExInfo = {
  mineFollow: boolean
  followMine: boolean
  regDays: number
  followMines: number
  mineFollows: number
  messages: number
  replies: number
}

type TbRole = {
  rid: number
  roleName: string
  roleInfo: string
  deleted: string
}

type UserInfo = {
  tbUser: TbUser
  tbUserInfo: TbUserInfo
  exInfo: UserExInfo
  tbRole: TbRole
}

type TbUserInfoVO = {
  nickname: string
  sex: string
  qq: string
  wechat: string
  info: string
}

export type { TbUser, TbUserInfo, UserExInfo, TbRole, UserInfo, TbUserInfoVO }
